package cn.laixueit.repository;

import cn.laixueit.pojo.Student;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface StudentRepository extends ElasticsearchRepository<Student,Integer> {
    List<Student> findByAgeBetween(Integer age1,Integer age2);
}
